#include<stdio.h>

int main()
{
	int a = -1; // 1 111 1111 1111 1111 1111 1111 1111 1111
	unsigned u = 32767;
	unsigned long L = -32768;
	
	printf("a=%d, a=%u---(a=%%d, a=%%u)\n",a,a);
	printf("a=%hx, a=%X---(a=%%hx, a=%%X)\n",a,a);
	printf("u=%o, u=%X---(u=%%o, u=%%X)\n",u,u);
	printf("u=%#010X--------(u=%%#010X)\n",u);
	printf("u=%#10.10X--------(u=%%#10.10d)\n",u);
	printf("L=%LX--------(L=%%LX)\n",L);
	printf("L=%-#14.10X--------(L=%%-#14.10X)\n",L);
}
